﻿namespace Jim.OA;

/// <summary>
/// 干预流程
/// </summary>
[Sdk("/api/workflow/paService/doIntervenor", description: "干预流程")]
public class OADoIntervenorRequestInput : OAUserRequest<SdkResponse>, ISdkCustomDic
{
    /// <summary>
    /// 要干预的流程请求Id
    /// </summary>
    public string RequestId { get; set; }
    /// <summary>
    /// 干预是否执行节点前附加操作
    /// </summary>
    public string EnableIntervenor { get; set; }
    /// <summary>
    /// 干预节点接收人，多个人以","号隔开
    /// </summary>
    public string IntervenorId { get; set; }
    /// <summary>
    /// 操作意见
    /// </summary>
    public string Remark { get; set; }
    /// <summary>
    /// 会签类型 0 ：非会签 1：会签 2：依次逐个处理
    /// </summary>
    public string SignType { get; set; }
    /// <summary>
    /// 目标节点ID
    /// </summary>
    public string SubmitNodeId { get; set; }

    public SdkDictionary Dic()
    {
        SdkDictionary dic = new SdkDictionary();
        dic.Add("requestId", RequestId);
        dic.Add("enableIntervenor", EnableIntervenor);
        dic.Add("Intervenorid", IntervenorId);
        dic.Add("remark", Remark);
        dic.Add("SignType", SignType);
        dic.Add("submitNodeId", SubmitNodeId);
        return dic;
    }
}